Registry HARDWARE\DEVICEMAP\SERIALCOMM is removed when rebooting
I have HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM in my PC when I plug in a barcode scanner, but somehow this registry is removed every time I reboot my PC. Is there a way i can tell windows to not deleting it?
August 8th, 2011 7:53pm

1.) Create the folder "C:\SerialComm" 2.) Create a text file named "serialcomm.txt" inside the "C:\SerialComm" folder containing the following line of text: HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM [1 5 7 17] 3.) Create a local user account on the workstation named "SerialCommSA" (with a password of your choosing) and add that user to the "Local Administrators" group. 4.) Create a Scheduled Task on the computer as follows (Start / Programs / Accessories / System Tools / Scheduled Tasks / Add Scheduled Task) Task Name: SerialComm Permissions Run: C:\WINDOWS\system32\regini.exe C:\SerialComm\serialcomm.txt Run as: [Hostname]\SerialCommSA (Don't forget to set password) Schedule Task: At System Startup This will cause the "REGINI.EXE" application to apply the permissions defined in the "serialcomm.txt" file when the system starts and, because the service account (SerialCommSA) is a local administrator, the user does not need any elevated permissions. I hope that helps someone else encountering this issue. Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
August 8th, 2011 8:36pm

Thanks you. That worked.topcan5
August 9th, 2011 10:04pm

Hi just found out the the above method works in Win XP, but not in Win7. I got an error: REGINI: GreateKey(...) relative to handle (0000000000) failed -5. Please help.topcan5
Free Windows Admin Tool Kit Click here and download it now
August 11th, 2011 4:15pm

Admin access right issue. Fixed, thanks.topcan5
August 25th, 2011 4:59pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics